package com.bonc.modules.item.param;

import com.bonc.common.param.BaseParam;
import com.bonc.modules.item.utils.ChartDateTypeEnum;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author jinlong
 * @date 2021/8/6
 */
@Data
public class ItemValueParam extends BaseParam {
    @NotNull(message = "日期类型不能为空，请检查参数", groups = {BaseParam.list.class})
    private ChartDateTypeEnum dateType;
    @NotNull(message = "指标日期不能为空，请检查参数", groups = {BaseParam.list.class})
    private String dealDate;
    @NotNull(message = "指标编码不能为空，请检查参数", groups = {BaseParam.list.class})
    private String itemCode;
    /**
     * 指标分类ID
     */
    @NotNull(message = "指标分类ID不能为空，请检查参数", groups = {BaseParam.list.class})
    private String dimId;
    @NotNull(message = "指标维度ID不能为空，请检查参数", groups = {BaseParam.list.class})
    private String groupCode;
    private String cityCode;
    private String countyCode;
    private String gridCode;
    private String flag;
}
